<?php
if (isset($shoeShowList) && count($shoeShowList) > 0) {
    foreach ($shoeShowList as $shoeShowMsg) {
        $shoeShowImg = make_img_name::make_img_mini_name(explode(';', $shoeShowMsg->Picture, 2)[0]);
        if ($shoeShowImg !== false && count($shoeShowImg) > 0) {
            $isRecommend = $myShoeShow->show_recommend_check($shoeShowMsg->Id);
            if ($isRecommend === true) $recommendIconEx = ''; else $recommendIconEx = '-o';
            $isCommend = $myShoeShow->show_comment_check($shoeShowMsg->Id);
            if ($isCommend === true) $commendIconEx = ''; else $commendIconEx = '-o';
            ?>
            <li style="padding: 10px">
                <div class="am-thumbnail" style="margin-bottom:0px">
                    <h3 style="margin-top: 5px;margin-bottom: 5px;padding-left: 15px;">
                        <div class="app-tittle-color am-text-truncate" style="width: 218px;">
                            <?= $shoeShowMsg->Introd ?>
                        </div>
                        <a class="web-main-color"><?= $shoeShowMsg->UserName ?></a>
                    </h3>
                    <a onclick="act_content(this)"
                       data-forward="controller=shoe_show&shoe_show_id=<?= $shoeShowMsg->Id ?>">
                        <div class="app-img-flex"
                             style="background-image:url(<?= $CfgPara->httproot ?>/shoe_show_pic/<?= $shoeShowImg ?>);">
                        </div>
                    </a>
                    <div class="am-thumbnail-caption" style="text-align:center;padding:8px 0px">
                        <div class="am-g am-text-xs">
                            <div style="padding: 0 5px;" class="am-u-sm-4 app-comment-color"><i
                                        class="am-icon am-icon-heart<?= $recommendIconEx ?> am-icon-fw"></i><?= formatDataSize($shoeShowMsg->UpCount) ?>
                            </div>
                            <div style="padding: 0 5px;" class="am-u-sm-4 app-comment-color"><i
                                        class="am-icon am-icon-comment<?= $commendIconEx ?> am-icon-fw"></i><?= formatDataSize($shoeShowMsg->CommentCount) ?>
                            </div>
                            <div style="padding: 0 5px;" class="am-u-sm-4 app-comment-color"><i
                                        class="am-icon am-icon-eye am-icon-fw"></i><?= formatDataSize($shoeShowMsg->ViewCount) ?>
                            </div>
                        </div>
                    </div>
                </div>
            </li>
        <?php }
    }
} //
else //没有内容
{
    if (isset($InputData['page_iscroll_load']) && $InputData['page_iscroll_load'] == 1)
        require("{$CfgPara->root}/view/warning_nocontent.app.v.php");
} ?>